package cn.fanyc.action.blockchain.fbc.org2.config;

/**
 * 全局常量
 *
 * @author Fanyc
 * @date 2020-10-18 19:20
 */
public class GlobalConstants {

    /**
     * 通道名称
     */
    public static final String CHANNEL_NAME = "mychannel";

    /**
     * FBC合约名称
     */
    public static final String CONTRACT_FBC = "fbc-paper-contract";

    /**
     * 组织的CA服务地址
     */
    public static final String CA_SERVER_IP = "10.150.8.11";

    /**
     * 组织的CA服务地址
     */
    public static final String CA_SERVER_URI = "https://" + CA_SERVER_IP + ":8054";

    /**
     * 管理员账号
     */
    public static final String USER_ADMIN = "admin";
    /**
     * 管理员密码
     */
    public static final String USER_ADMIN_PWD = "adminpw";

    /**
     * 普通用户账号
     */
    public static final String USER_USER = "appUser";
    /**
     * 普通用户密码
     */
    public static final String USER_USER_PWD = "user@pwd";
    /**
     * 所在组织部门
     */
    public static final String AFFILIATION = "org2.department1";
    /**
     * 服务提供商ID
     */
    public static final String MSP_ID = "Org2MSP";
    /**
     * 证书文件
     */
    public static final String PEM_FILE = "classpath:blockchain/ca/ca.org2.fanyc.cn-cert.pem";
    /**
     * 通道配置文件
     */
    public static final String CONNECTION_FILE = "classpath:blockchain/connection-org2.yaml";
}
